#!/bin/sh

read word

echo $word | aspell -a | cut -d : -f 2 | sed -e s/,/\\n/g | awk 'NR > 1 { printf("%d: %s\n", i++, $1); }' | pick -S | cut -d " " -f 2
